package com.tuozixuan.onesql.db;

public class Column {
 
    /** 字段名 */
    private String name;
    
    /** 字段类型 */
    private ColumnTypeEnum type;
    
    /** 字段长度 */
    private Integer size;

    /** 字段默认值 */
    private String defaultValue;
    
    /** 是否自动增长 */
    private Boolean autoIncrement;
    
    /** 字段位置 */
    private Integer ordinalPosition;
    
    /** 字段注释 */
    private String remarks;
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ColumnTypeEnum getType() {
        return type;
    }

    public void setType(ColumnTypeEnum type) {
        this.type = type;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public Boolean getAutoIncrement() {
        return autoIncrement;
    }

    public void setAutoIncrement(Boolean autoIncrement) {
        this.autoIncrement = autoIncrement;
    }

    public Integer getOrdinalPosition() {
        return ordinalPosition;
    }

    public void setOrdinalPosition(Integer ordinalPosition) {
        this.ordinalPosition = ordinalPosition;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
